<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<script type="text/javascript" src="${staticPath}/js/decimalinput.js"></script>
<script type="text/javascript"src="${staticPath}/js/selectBerth.js"></script>
<link rel="stylesheet" type="text/css" href="${staticPath}/lib/jquery-ui-multiselect-widget-master/jquery.multiselect.css" />
<link rel="stylesheet" type="text/css" href="${staticPath}/css/jquery-ui.css" />
<script type="text/javascript" src="${staticPath}/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="${staticPath}/lib/jquery-ui-multiselect-widget-master/src/jquery.multiselect.js"></script>
<script type="text/javascript" src="${staticPath}/js/selectBerth.js"></script>
<div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                 <h4 class="modal-title">铺位信息</h4>
            </div>			<!-- /modal-header -->
            <div class="modal-body">
            <table class="table table-striped table-hover">  
            	<thead>
            	<tr>
            		<td><input type="checkbox" disabled="disabled"></td>
            		<td>铺位号${berthMaindata.berthId }</td>
            		<td>门店</td>
            		<td>楼层</td>
            		<td>面积</td>
            		<td>有效日期起</td>
            		<td>有效日期止</td>
				</tr>
				</thead>
				<tbody>
				<c:forEach items="${list }" var="berthMaindata" varStatus="i">
					<tr>
						<td><input type="checkbox" name="berthCheck" value="${berthMaindata.id }" title="${berthMaindata.berthId }"></td>
	            		<td>${berthMaindata.berthId }</td>
	            		<td>${berthMaindata.siteid }</td>
	            		<td>${berthMaindata.floor }</td>
	            		<td><label id="area_${berthMaindata.id }">${berthMaindata.area }</label></td>
	            		<td><fmt:formatDate value="${berthMaindata.validfro }" pattern="yyyy-MM-dd" /></td>
	            		<td><fmt:formatDate value="${berthMaindata.validto }" pattern="yyyy-MM-dd" /></td>
					</tr>
				</c:forEach>
				</tbody>
			</table>
            </div>			
            <!-- /modal-body -->
            <div class="modal-footer">
                <button type="button" id="ok"  onclick="setShopValue()" data-dismiss="modal"  class="btn btn-primary" onclick="">确定</button>
                 <button type="button"  class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>			
            <!-- /modal-footer -->
        </div>         
        <!-- /modal-content -->
    </div>     
</body>